package com.ruike.alisurface.ui.answerQuestion.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Author: voodoo
 * CreateDate: 2020/07/24 024 11:39 上午
 * Description: 题目作答详情
 */
public class AnswerQuestionBean implements Serializable {

    /**
     * mchid : 100
     * strategy_id : 1285843439300263936
     * question_openid : 1285765408305070080
     * answer_list : [{"question_index":1,"question_id":"1285474054878412800","submit_answer":[2,1]},{"question_index":2,"question_id":"1285804618193977344","submit_answer":[1,2,3,4,5,6,7,8,9,10]},{"question_index":3,"question_id":"1285474302816305152","submit_answer":[3,1]},{"question_index":4,"question_id":"1285474302816305152","submit_answer":[3,1]}]
     */

    private String mchid;
    private String strategy_id;
    private String question_openid;
    private List<AnswerListBean> answer_list;

    public String getMchid() {
        return mchid;
    }

    public void setMchid(String mchid) {
        this.mchid = mchid;
    }

    public String getStrategy_id() {
        return strategy_id;
    }

    public void setStrategy_id(String strategy_id) {
        this.strategy_id = strategy_id;
    }

    public String getQuestion_openid() {
        return question_openid;
    }

    public void setQuestion_openid(String question_openid) {
        this.question_openid = question_openid;
    }

    public List<AnswerListBean> getAnswer_list() {
        return answer_list;
    }

    public void setAnswer_list(List<AnswerListBean> answer_list) {
        this.answer_list = answer_list;
    }

    public static class AnswerListBean implements Serializable {
        /**
         * question_index : 1
         * question_id : 1285474054878412800
         * submit_answer : [2,1]
         */

        private int question_index;
        private String question_id;
        private List<Integer> submit_answer;

        public int getQuestion_index() {
            return question_index;
        }

        public void setQuestion_index(int question_index) {
            this.question_index = question_index;
        }

        public String getQuestion_id() {
            return question_id;
        }

        public void setQuestion_id(String question_id) {
            this.question_id = question_id;
        }

        public List<Integer> getSubmit_answer() {
            return submit_answer;
        }

        public void setSubmit_answer(List<Integer> submit_answer) {
            this.submit_answer = submit_answer;
        }

        @Override
        public String toString() {
            return "AnswerListBean{" +
                    "question_index=" + question_index +
                    ", question_id='" + question_id + '\'' +
                    ", submit_answer=" + submit_answer +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "AnswerQuestionBean{" +
                "mchid='" + mchid + '\'' +
                ", strategy_id='" + strategy_id + '\'' +
                ", question_openid='" + question_openid + '\'' +
                ", answer_list=" + answer_list +
                '}';
    }
}
